import { defineComponent } from "vue";
import style from "./index.module.less";
import { bannerProps } from "./types";
export default defineComponent({
  name: "",
  props: bannerProps,
  setup(_) {
    return () => {
      return (
        <div
          class="w-full h-[206px]"
          style={{
            backgroundImage: `url(${_.url})`,
            backgroundSize: "100% 100%",
          }}
        >
          {_.text}
        </div>
      );
    };
  },
});
